package com.lvt.example.thinking.in.spring.questions.L19.bean.definine.example02;

import org.springframework.context.annotation.Bean;
import org.springframework.stereotype.Service;

/**
 * desc：定义的 Bean 缺少隐式依赖
 *
 *
 Description:

 Parameter 0 of constructor in com.lvt.example.thinking.in.spring.questions.L19.example02.service.ServiceImpl
 required a bean of type 'java.lang.String' that could not be found.


 AbstractAutowireCapableBeanFactory#createBeanInstance

 *
 * @author LT
 * @date 2022/10/2
 */
@Service
public class ServiceImpl {

    private String serviceName;

    public ServiceImpl(String serviceName) {
        this.serviceName = serviceName;
    }

}
